package org.example.system.service.exam;

import org.example.system.model.exam.dto.ExamAddDTO;
import org.example.system.model.exam.dto.ExamEditDTO;
import org.example.system.model.exam.dto.ExamQueryDTO;
import org.example.system.model.exam.dto.ExamQuestionAddDTO;
import org.example.system.model.exam.vo.ExamDetailVO;
import org.example.system.model.exam.vo.ExamVO;

import java.util.List;

/**
 * @author : [Pashm]
 * @version : [v1.0]
 */

public interface IExamService {


    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    Integer add(ExamAddDTO examAddDTO);

    Boolean questionAdd(ExamQuestionAddDTO examQuestionAddDTO);

    ExamDetailVO detail(Long examId);

    Integer edit(ExamEditDTO examEditDTO);

    Integer questionDelete(Long examId, Long questionId);

    Integer delete(Long examId);

    Integer publish(Long examId);

    Integer cancelPublish(Long examId);
}
